<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SWM34S_LVGL7.11_SWMUI: C:/Users/DELL/Desktop/Commit/lvgl/SWM34S_LVGL7.11_SWMUI_20230515/APP/BSP/dev_sfc.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SWM34S_LVGL7.11_SWMUI<span id="projectnumber">&#160;V7.9</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.5 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_0ca16891106f5a3e9ad635a0d6c5f98f.html">APP</a></li><li class="navelem"><a class="el" href="dir_4ca18d753a70f6eada20fde478bd3fc8.html">BSP</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle"><div class="title">dev_sfc.h</div></div>
</div><!--header-->
<div class="contents">
<a href="dev__sfc_8h.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span> </div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno">   40</span><span class="preprocessor">#ifndef __DEV_SFC_H__</span></div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno">   41</span><span class="preprocessor">#define __DEV_SFC_H__</span></div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno">   42</span> </div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno">   43</span><span class="preprocessor">#include &quot;SWM341.h&quot;</span></div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno">   44</span> </div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno">   48</span><span class="keywordtype">void</span> <a class="code hl_function" href="dev__sfc_8h.html#a3e07babe174017b09f2d82c4951172c8">sfc_port_init</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno">   49</span> </div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno">   55</span><span class="keywordtype">void</span> <a class="code hl_function" href="dev__sfc_8h.html#aaa274c7312ab8789f8ad8f2feb6075dd">sfc_config</a>(uint8_t width);</div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno">   56</span> </div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno">   61</span><span class="keywordtype">void</span> <a class="code hl_function" href="dev__sfc_8h.html#aad5d116153c77313a1212733b556a578">sfc_init</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno">   62</span> </div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno">   69</span>uint32_t <a class="code hl_function" href="dev__sfc_8h.html#a754be673cc4d49aa9261d43a30c67e00">sfc_read_id</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno">   70</span> </div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno">   71</span><span class="preprocessor">#endif </span><span class="comment">//__DEV_SFC_H__</span></div>
<div class="ttc" id="adev__sfc_8h_html_a3e07babe174017b09f2d82c4951172c8"><div class="ttname"><a href="dev__sfc_8h.html#a3e07babe174017b09f2d82c4951172c8">sfc_port_init</a></div><div class="ttdeci">void sfc_port_init(void)</div><div class="ttdoc">配置 SFC 专用驱动端口</div><div class="ttdef"><b>Definition:</b> <a href="dev__sfc_8c_source.html#l00045">dev_sfc.c:45</a></div></div>
<div class="ttc" id="adev__sfc_8h_html_a754be673cc4d49aa9261d43a30c67e00"><div class="ttname"><a href="dev__sfc_8h.html#a754be673cc4d49aa9261d43a30c67e00">sfc_read_id</a></div><div class="ttdeci">uint32_t sfc_read_id(void)</div><div class="ttdoc">通过 SFC 读取 SPI-Flash ID</div><div class="ttdef"><b>Definition:</b> <a href="dev__sfc_8c_source.html#l00113">dev_sfc.c:113</a></div></div>
<div class="ttc" id="adev__sfc_8h_html_aaa274c7312ab8789f8ad8f2feb6075dd"><div class="ttname"><a href="dev__sfc_8h.html#aaa274c7312ab8789f8ad8f2feb6075dd">sfc_config</a></div><div class="ttdeci">void sfc_config(uint8_t width)</div><div class="ttdoc">配置 SFC 模块以建立与 SPI-Flash 的通讯</div><div class="ttdef"><b>Definition:</b> <a href="dev__sfc_8c_source.html#l00061">dev_sfc.c:61</a></div></div>
<div class="ttc" id="adev__sfc_8h_html_aad5d116153c77313a1212733b556a578"><div class="ttname"><a href="dev__sfc_8h.html#aad5d116153c77313a1212733b556a578">sfc_init</a></div><div class="ttdeci">void sfc_init(void)</div><div class="ttdoc">初始化 SFC 将 外挂的SPI-Flash 映射至 MCU 总线地址上</div><div class="ttdef"><b>Definition:</b> <a href="dev__sfc_8c_source.html#l00102">dev_sfc.c:102</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5
</small></address>
</body>
</html>
